using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class Exploder : Mob{

	[SerializeField] GameObject bombPrefab;

	protected override void StateAttack() {
		base.StateAttack();
		Die();
	}

	protected override void Die() {
		Instantiate(bombPrefab,transform.position,Quaternion.identity,Utility.dynamicParent.transform);
		base.Die();
	}
}
